package sel.me.spring.beans.factory;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.ObjectFactory;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//@Component
@Service
public class SimpleObjectFactory implements ObjectFactory<String> {  

	@Override
	public String getObject() throws BeansException {
		return new String("Hello ObjectFactory");
	}  
    
}  
